<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>欢迎注册迷你聊天室</title>
<style type="text/css">
	tr{
		height: 40px;
		line-height: 40px;
	}
	
	div{
		position: relative;
	}
	
	span {
		position: absolute;
		bottom: 0;
		right: 0;
		font-size: 12px;
		margin-bottom: 10px;
		margin-right: 6px;
	}
}
	
</style>
</head>
<body style="background-color: #666;">
	<div style="margin: 80px auto;width: 500px;text-align: center;border: 1px solid #ccc;border-radius: 15px;box-shadow: 10px 10px 5px #ccc;background-color: white;">
		<h1>欢迎注册迷你聊天室</h1>
		<form action="registerHandler" method="get">
			<table style="margin: auto;">
				<tr>
					<td>用户名: </td>
					<td><input type="text" name="username" placeholder="请输入用户名..."/></td>
				</tr>
				<tr>
					<td>密码: </td>
					<td><input type="password" name="password" placeholder="请输入密码..."/></td>
				</tr>
				<tr>
					<td colspan="2">
						<input type="submit" value="注册"/>
						<input type="reset" value="重置"/>
					</td>
				</tr>
			</table>
		</form>
		<a style="margin-bottom: 15px;display: block;" href="./index.jsp">登录</a>
		<span style="position: absolute; top: 70px;right: 35%;color: red;">${error}</span>
		<span>作者: @未进化的程序猿</span>
	</div>
</body>
</html>